﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Common/MasterPages/Dialog.Master" AutoEventWireup="true" CodeBehind="EnumForm.aspx.cs" Inherits="DMS.Web.Modules.SystemManagement.EnumForm" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PageTitle" runat="server">
    可选项信息
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="MainHolder" runat="server">

    <script language="javascript" type="text/javascript">
        
    </script>
    
    <fieldset>
    <legend>
        详细信息
    </legend>
    <div id="divContent" style="padding-top: 5px;" runat="server">
        <table cellpadding="1" cellspacing="2" border="0" width="98%">
            <tr>
                <th width="30%">
                        选项类型：<span id="Span2" runat="server"> (<span class="red">*</span>)</span>
                </th>
                <td>
                    <asp:DropDownList ID="EnumTypeID" runat="server" DataTextField="EnumTypeName" DataValueField="EnumTypeID" width="95%">
                                        </asp:DropDownList>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator3" ControlToValidate="EnumTypeID"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                        选项名称：<span id="spRedPoint_2" runat="server"> (<span class="red">*</span>)</span>
                </th>
                <td>
                    <asp:TextBox ID="EnumName" runat="server" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator2" ControlToValidate="EnumName"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                        选项编码：<span id="Span1" runat="server"> (<span class="red">*</span>)</span>
                </th>
                <td>
                    <asp:TextBox ID="EnumCode" runat="server" width="95%"></asp:TextBox>
                    <asp:RequiredFieldValidator ID="RequiredFieldValidator1" ControlToValidate="EnumCode"
                        runat="server" ErrorMessage="请输入！" SetFocusOnError="true" Display="Dynamic"></asp:RequiredFieldValidator>
                </td>
            </tr>
            <tr>
                <th>
                        顺序：
                </th>
                <td>
                    <asp:TextBox ID="Sequence" runat="server" width="95%"></asp:TextBox>
                    <asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ErrorMessage="RegularExpressionValidator" ValidationExpression="^[0-9]*$" ControlToValidate="Sequence"></asp:RegularExpressionValidator>
                </td>
            </tr>
        </table>
    </div>
</fieldset>
</asp:Content>

<asp:Content ID="ctFooter"  ContentPlaceHolderID="FooterHolder" runat="server">
<asp:LinkButton ID="btnSave" CssClass="linkbtn" runat="server" OnClick="btnSave_Click"
        CausesValidation="true"><span>保存</span></asp:LinkButton>&nbsp;&nbsp;
<a href="javascript:window.close();" class="linkbtn"><span>关闭</span></a>
</asp:Content>